Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cancel timer async #1646

Closed
wants to merge 1 commit into from
Closed

Cancel timer async #1646

wants to merge 1 commit into from

Conversation

ansd
Copy link
Contributor

@ansd ansd commented Apr 11, 2024

to improve performance on the critical path

to improve performance on the critical path
@essen
Copy link
Member

essen commented Jan 15, 2025

Cancel timer is no longer a critical path in Websocket following optimisations, however it remains critical for HTTP so I'm leaving this open for the time being.

@essen essen added this to the 2.13.0 milestone Jan 15, 2025
@essen
Copy link
Member

essen commented Jan 24, 2025

I cannot measure the difference with/without this for HTTP. The best improvement would be to not reset the timer so often. That said, it doesn't hurt not to have this even if the improvement cannot be measured at this time.

@essen
Copy link
Member

essen commented Jan 24, 2025

Merged, thanks!

@essen essen closed this Jan 24, 2025
@ansd
Copy link
Contributor Author

ansd commented Jan 24, 2025

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants